//Ta Duc Viet - 11020397
//5/3/12
//Chuyen he nhiet do
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
   float C, K, Max, Min, Jump;
   int F;
   cout << "GTNN = ";
   cin >> Min;
   cout << "GTLN = ";
   cin >> Max;
   cout << "Buoc nay:";
   cin >> Jump;
   cout << setw(15) << "Fahrenheit" << setw(15) << "Celsius" << setw(15) << "Kelvin" << endl;
   cout << setiosflags(ios::fixed) << setprecision (2);
   cout.setf(ios::left);
   for ( F = Min; F <= Max; F = F + Jump )
   {
      C = ( float(F) - 32 )*5/9;;
      K = C + 273.15;
      cout << "         " << setw(15) << F << setw(15) << C << setw(15) << K << endl;
      }
   system("pause");
   return 0;
} 
